home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 8_5.lha / 8_5 / feof.c < prev    next >
Text File  |  1993-08-08  |  275b  |  14 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. / return TRUE if at the end of file
  6. nt feof(FILE *f)
  7.  
  8.    if (f->mode == input)
  9. return f->in->eof();
  10.  
  11.    else
  12. return f->out->eof();
  13.  
  14.